package com.teng.service;

import com.teng.dto.UserContext;


public interface UserService {
	
	
	/**
	 * 用户登录
	 * @param account 账号
	 * @param password 密码
	 * @return 用户上下文
	 * @throws AccountNotExistException
	 * @throws AccountPasswordErrorException
	 * 		   	 
	 */
	public UserContext login(String account,String password,String loginIp)throws Exception;
	
	
}
